/**
 *====================================================
 * 文件名称: ReceivablesEntity.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2015年9月23日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.ApplicantLoanStateEnum;
import com.yuexunit.finance.project.entity.lexicon.BeneficiaryMethodEnum;

/**
 * @ClassName: ReceivablesEntity
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2015年9月23日 下午5:35:41
 */
@Entity
@Table(name = "FIN_RECEIVABLES")
public class ReceivablesEntity {

	/** 收款单据ID */
	@Id
	@GeneratedValue
	@Column(name = "RECEIVABLES_ID")
	private Long receivablesId;

	/** 提货申请单 */
	@Column(name = "PICKUP_ID")
	private Long pickupId;

	/** 提货申请编号 */
	@Column(name = "PICKUP_NUMBER")
	private String pickupNumber;

	/** 融资信息ID */
	@Column(name = "FINANCE_ID")
	private Long financeId;

	/** 融资信息编号 */
	@Column(name = "FINANCE_NUMBER")
	private String financeNumber;

	/** 融资企业ID */
	@Column(name = "ENTERPRISE_ID")
	private Long enterpriseId;

	/** 融资企业名称 */
	@Column(name = "ENTERPRISE_NAME")
	private String enterpriseName;

	/** 收款方式 */
	@Column(name = "BENEFICIARY_METHOD")
	private BeneficiaryMethodEnum beneficiaryMethod;

	/** 收款时间 */
	@Column(name = "BENEFICIARY_D8")
	private Integer beneficiaryDate;

	/** 收款金额 */
	@Column(name = "BENEFICIARY_AMOUNT")
	private BigDecimal beneficiaryAmount;

	/** 授信额度 */
	@Column(name = "CREDIT_QUOTA")
	private BigDecimal creditQuota;

	/** 收款人 */
	@Column(name = "BENEFICIARY_NAME")
	private String beneficiaryName;

	/** 收款银行 */
	@Column(name = "BENEFICIARY_BANK")
	private String beneficiaryBank;

	/** 收款卡号 */
	@Column(name = "BENEFICIARY_CREDIT_CARD")
	private String beneficiaryCreditCard;

	/** 收款流水号 */
	@Column(name = "BENEFICIARY_NUMBER")
	private String beneficiaryNumber;

	/** 付款银行 */
	@Column(name = "PAYMENT_BANK")
	private String paymentBank;

	/** 付款银行卡号 */
	@Column(name = "PAYMENT_CREDIT_CARD")
	private String paymentCreditCard;

	/** 附件材料 */
	@Column(name = "FILE_UUIDS")
	private String fileUuids;

	/** 操作人员ID */
	@Column(name = "OPERATOR_ID")
	private Long operatorId;

	/** 操作人员 */
	@Column(name = "OPERATOR")
	private String operator;

	/** 收款单状态 1:待审核/2:已审核 */
	@Column(name = "RECEIVABLES_STATE")
	private ApplicantLoanStateEnum receivablesState;

	/** 审核意见 */
	@Column(name = "AUDIT_REMARK")
	private String auditRemark;

	/** 审核人ID */
	@Column(name = "AUDITOR_ID")
	private Long auditorId;

	/** 审核人 */
	@Column(name = "AUDITOR")
	private String auditor;

	/** 审核时间 */
	@Column(name = "AUDIT_DT")
	private Date auditDateTime;

	/** 是否有效 0-无效;1-有效 */
	@Column(name = "ENABLED")
	private Boolean enabled;

	/** 创建时间 */
	@Column(name = "CREATE_DT")
	private Date createDateTime;

	/** 更新时间 */
	@Column(name = "UPDATE_DT")
	private Date updateDateTime;

	public Long getReceivablesId() {
		return receivablesId;
	}

	public void setReceivablesId(Long receivablesId) {
		this.receivablesId = receivablesId;
	}

	public Long getPickupId() {
		return pickupId;
	}

	public void setPickupId(Long pickupId) {
		this.pickupId = pickupId;
	}

	public String getPickupNumber() {
		return pickupNumber;
	}

	public void setPickupNumber(String pickupNumber) {
		this.pickupNumber = pickupNumber;
	}

	public Long getFinanceId() {
		return financeId;
	}

	public void setFinanceId(Long financeId) {
		this.financeId = financeId;
	}

	public String getFinanceNumber() {
		return financeNumber;
	}

	public void setFinanceNumber(String financeNumber) {
		this.financeNumber = financeNumber;
	}

	public Long getEnterpriseId() {
		return enterpriseId;
	}

	public void setEnterpriseId(Long enterpriseId) {
		this.enterpriseId = enterpriseId;
	}

	public String getEnterpriseName() {
		return enterpriseName;
	}

	public void setEnterpriseName(String enterpriseName) {
		this.enterpriseName = enterpriseName;
	}

	public BeneficiaryMethodEnum getBeneficiaryMethod() {
		return beneficiaryMethod;
	}

	public void setBeneficiaryMethod(BeneficiaryMethodEnum beneficiaryMethod) {
		this.beneficiaryMethod = beneficiaryMethod;
	}

	public BigDecimal getCreditQuota() {
		return creditQuota;
	}

	public void setCreditQuota(BigDecimal creditQuota) {
		this.creditQuota = creditQuota;
	}

	public BigDecimal getBeneficiaryAmount() {
		return beneficiaryAmount;
	}

	public void setBeneficiaryAmount(BigDecimal beneficiaryAmount) {
		this.beneficiaryAmount = beneficiaryAmount;
	}

	public String getBeneficiaryName() {
		return beneficiaryName;
	}

	public void setBeneficiaryName(String beneficiaryName) {
		this.beneficiaryName = beneficiaryName;
	}

	public String getBeneficiaryBank() {
		return beneficiaryBank;
	}

	public void setBeneficiaryBank(String beneficiaryBank) {
		this.beneficiaryBank = beneficiaryBank;
	}

	public String getBeneficiaryCreditCard() {
		return beneficiaryCreditCard;
	}

	public void setBeneficiaryCreditCard(String beneficiaryCreditCard) {
		this.beneficiaryCreditCard = beneficiaryCreditCard;
	}

	public String getBeneficiaryNumber() {
		return beneficiaryNumber;
	}

	public void setBeneficiaryNumber(String beneficiaryNumber) {
		this.beneficiaryNumber = beneficiaryNumber;
	}

	public String getPaymentBank() {
		return paymentBank;
	}

	public void setPaymentBank(String paymentBank) {
		this.paymentBank = paymentBank;
	}

	public String getPaymentCreditCard() {
		return paymentCreditCard;
	}

	public void setPaymentCreditCard(String paymentCreditCard) {
		this.paymentCreditCard = paymentCreditCard;
	}

	public String getFileUuids() {
		return fileUuids;
	}

	public void setFileUuids(String fileUuids) {
		this.fileUuids = fileUuids;
	}

	public Long getOperatorId() {
		return operatorId;
	}

	public void setOperatorId(Long operatorId) {
		this.operatorId = operatorId;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public ApplicantLoanStateEnum getReceivablesState() {
		return receivablesState;
	}

	public void setReceivablesState(ApplicantLoanStateEnum receivablesState) {
		this.receivablesState = receivablesState;
	}

	public String getAuditRemark() {
		return auditRemark;
	}

	public void setAuditRemark(String auditRemark) {
		this.auditRemark = auditRemark;
	}

	public Long getAuditorId() {
		return auditorId;
	}

	public void setAuditorId(Long auditorId) {
		this.auditorId = auditorId;
	}

	public String getAuditor() {
		return auditor;
	}

	public void setAuditor(String auditor) {
		this.auditor = auditor;
	}

	public Date getAuditDateTime() {
		return auditDateTime;
	}

	public void setAuditDateTime(Date auditDateTime) {
		this.auditDateTime = auditDateTime;
	}

	public Boolean getEnabled() {
		return enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public Integer getBeneficiaryDate() {
		return beneficiaryDate;
	}

	public void setBeneficiaryDate(Integer beneficiaryDate) {
		this.beneficiaryDate = beneficiaryDate;
	}

	public Date getCreateDateTime() {
		return createDateTime;
	}

	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}

	public Date getUpdateDateTime() {
		return updateDateTime;
	}

	public void setUpdateDateTime(Date updateDateTime) {
		this.updateDateTime = updateDateTime;
	}

}
